:root {
    --sans-serif-font: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
        "Noto Color Emoji";
    --monospace-font: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "liberation mono", "courier new", monospace;
}
#wenyan {
    font-family: var(--sans-serif-font);
    line-height: 1.75;
    font-size: 16px;
}
#wenyan * {
    box-sizing: border-box;
}
#wenyan h1,
#wenyan h2,
#wenyan h3,
#wenyan h4,
#wenyan h5,
#wenyan h6,
#wenyan p,
#wenyan pre {
    margin: 1em 0;
}
#wenyan h1,
#wenyan h2 {
    clear: left;
    font-size: 1.2em;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 1.16667em;
    margin-top: 2.33333em;
}
#wenyan h3,
#wenyan h4,
#wenyan h5,
#wenyan h6 {
    clear: left;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 1.27273em;
    margin-top: 1.90909em;
}
#wenyan ul,
#wenyan ol {
    padding-left: 1.2em;
}
#wenyan li {
    margin-left: 1.2em;
}
#wenyan img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
}
#wenyan table {
    border-collapse: collapse;
    font-size: 15px;
    margin: 1.4em auto;
    max-width: 100%;
    table-layout: fixed;
    text-align: left;
    width: 100%;
    word-wrap: break-word;
    word-break: break-all;
}
#wenyan table th {
    background: #ebeced;
    color: #191b1f;
    font-weight: 500;
}
#wenyan table td,
#wenyan table th {
    border: 1px solid #c4c7ce;
    height: 24px;
    line-height: 24px;
    padding: 3px 12px;
}
#wenyan blockquote {
    border-left: 3px solid #c4c7ce;
    margin: 1.5em 0;
    padding: 0 0 1em 1em;
    color: #535861;
}
#wenyan code {
    margin: 0px 2px;
    padding: 3px 4px;
    border-radius: 3px;
    font-family: var(--monospace-font);
    background-color: rgb(246, 246, 246);
}
#wenyan pre {
    word-wrap: normal;
    background: #f8f8fa;
    border-radius: 4px;
    line-height: 2;
    margin: 1em 0.5em;
    padding: .5em;
    white-space: pre;
    word-break: normal;
}
#wenyan pre code {
    display: block;
    overflow-x: auto;
    margin: .5em;
    padding: 0;
}
#wenyan hr {
    border: none;
    border-top: 1px solid #c4c7ce;
    margin: 2em auto;
    max-width: 100%;
    width: 240px;
}
/* 链接 */
#wenyan a {
    word-wrap: break-word;
    color: #0069c2;
}
/* 脚注 */
#wenyan #footnotes ul {
    font-size: 0.9em;
    margin: 0;
    padding-left: 1.2em;
}
#wenyan #footnotes li {
    margin: 0 0 0 1.2em;
    word-wrap: break-word;
    word-break: break-all;
}
#wenyan .footnote {
    color: #0069c2;
}
